import Vue from 'vue'
import App from './App'
import store from './store'
import Utils from './common/utils'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/reset.css'
import 'element-ui/lib/theme-chalk/index.css'

Vue.config.productionTip = false

Vue.prototype.$store = store
Vue.prototype.Utils = Utils

import { db, upload, remove } from './common/http.js'
Vue.prototype.$db = db
Vue.prototype.$upload = upload
Vue.prototype.$remove = remove

App.mpType = 'app'

const app = new Vue({
	...App
})

Vue.use(ElementUI)

app.$mount()
